package com.warm.pump.module.monitor.service;

import com.warm.pump.frame.gen.bean.PageBean;
import com.warm.pump.module.monitor.bean.po.gen.LogMailHis;

import java.util.List;
import java.util.Map;

/**
 * sys_log_mail_his
 *
 */
public interface ILogMailHisService {

	LogMailHis queryObject(Long oid);

	List<LogMailHis> queryList(Map<String, Object> map);

    PageBean getPageBeanByMap(Map map, int pageNo, int pageSize);

    int queryTotal(Map<String, Object> map);

	void save(LogMailHis logMailHis);

	void update(LogMailHis logMailHis);

    void delete(Map<String, Object> map);
	void delete(Long oid);

	void deleteBatch(Long[] oids);
}
